Returns information about the current state of the runtime environment. This information can be useful for debugging purposes.
Example
The following code displays the properties related to individual objects in a multicolumn ListBox and the total amount of memory used in an EditField:
Dim i, total as Integer
total=Runtime.ObjectCount
For i=0 to total-1
Listbox1.addrow Str(Runtime.ObjectID(i))
Listbox1.Cell(i,1)=Runtime.ObjectClass(i)
Listbox1.Cell(i,2)= Str(Runtime.ObjectRefs(i))
Next
EditField1.text= Str(Runtime.memoryUsed)
total=Runtime.ObjectCount
For i=0 to total-1
Listbox1.addrow Str(Runtime.ObjectID(i))
Listbox1.Cell(i,1)=Runtime.ObjectClass(i)
Listbox1.Cell(i,2)= Str(Runtime.ObjectRefs(i))
Next
EditField1.text= Str(Runtime.memoryUsed)
See Also
System object.